package com.fsh.subject.domain.convert;


import com.fsh.subject.domain.entity.SubjectAnswerBO;
import com.fsh.subject.infra.basic.entity.SubjectMultiple;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface MultipleSubjectConverter {
    MultipleSubjectConverter INSTANCE= Mappers.getMapper(MultipleSubjectConverter.class);

    SubjectMultiple convertBOToMultiple(SubjectAnswerBO subjectAnswerBO);


    List<SubjectAnswerBO> convertMultipleToAnswerBOList(List<SubjectMultiple> subjectMultipleList);
}
